package com.qili.service.supervisor.impl;/**
 * @Auther liuyang
 * @Date 2020/12/12
 * @Version
 */

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supervisor.SupervisorProjectEvaluation;
import com.qili.entity.supervisor.SupervisorProjectEvaluationScore;
import com.qili.mapper.supervisor.SupervisorProjectEvaluationScoreMapper;
import com.qili.service.supervisor.SupervisorProjectEvaluationScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuyang
 * @date 2020/11/3
 * @description
 */
@Service
public class SupervisorProjectEvaluationScoreServiceImpl extends BaseServiceImpl<SupervisorProjectEvaluationScore,String> implements SupervisorProjectEvaluationScoreService {

    @Autowired
    private SupervisorProjectEvaluationScoreMapper supervisorProjectEvaluationScoreMapper;

    @Override
    public BaseMapper<SupervisorProjectEvaluationScore, String> getMappser() {
        return supervisorProjectEvaluationScoreMapper;
    }

    @Override
    public List<SupervisorProjectEvaluationScore> selectOrder(SupervisorProjectEvaluationScore score) {
        return supervisorProjectEvaluationScoreMapper.selectOrder(score);
    }

    @Override
    public List<SupervisorProjectEvaluationScore> selectTargetEvaluationScores(SupervisorProjectEvaluationScore evaluationScore) {
        return supervisorProjectEvaluationScoreMapper.selectTargetEvaluationScores(evaluationScore);
    }

    @Override
    public List<SupervisorProjectEvaluationScore> selectCheckedList(SupervisorProjectEvaluation evaluation) {
        return supervisorProjectEvaluationScoreMapper.selectCheckedList(evaluation);
    }

    @Override
    public SupervisorProjectEvaluationScore selectTargetEvaluationScoreResultOneNode(SupervisorProjectEvaluationScore score) {
        return supervisorProjectEvaluationScoreMapper.selectTargetEvaluationScoreResultOneNode(score);
    }
}
